<template>
  <div class="app-container">
    <el-card shadow="never">
      <div slot="header" class="clearfix">
        <span style="font-weight: 700">基本信息</span>
      </div>
      <el-col :span="2">
        <div class="grid-content" />
      </el-col>
      <el-col :span="20">
        <el-form label-width="100px">
          <el-row>
            <el-col :span="8">
              <el-form-item label="用户名" style="font-weight:400">
                <el-input placeholder="请输入真实姓名" />
              </el-form-item>
            </el-col>
            <el-col :span="8">
              <el-form-item label="代码账号">
                <el-input placeholder="请输入邮箱" />
              </el-form-item>
            </el-col>
          </el-row>

          <el-row>
            <el-col :span="6">
              <el-form-item label="性别">
                <el-radio>男</el-radio>
                <el-radio>女</el-radio>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </el-col>
    </el-card>

    <el-card shadow="never">
      <div slot="header" class="clearfix">
        <span style="font-weight: 700">账户信息</span>
      </div>
      <el-col :span="2">
        <div class="grid-content" />
      </el-col>
      <el-col :span="20">
        <el-form label-width="100px">
          <el-row>
            <el-col :span="8">
              <el-form-item label="用户名" style="font-weight:400">
                <el-input placeholder="请输入用户名" />
              </el-form-item>
            </el-col>
            <el-col :span="8">
              <el-form-item label="代码账号">
                <el-input placeholder="请输入代码账号" />
              </el-form-item>
            </el-col>
          </el-row>

          <el-row>
            <el-col :span="8">
              <el-form-item label="修改密码">
                <el-input placeholder="请输入密码" />
              </el-form-item>
            </el-col>
            <el-col :span="8">
              <el-form-item label="重复密码">
                <el-input placeholder="请输入密码" />
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </el-col>
    </el-card>

    <el-card shadow="never">
      <div slot="header" class="clearfix">
        <span style="font-weight: 700">安全验证</span>
      </div>
      <el-col :span="2">
        <div class="grid-content" />
      </el-col>
      <el-col :span="20">
        <el-form label-width="100px">
          <el-row>
            <el-col :span="8">
              <el-form-item label="当前密码" style="font-weight:400">
                <el-input placeholder="请输入您的系统登录密码" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row class="info-submit">
            <el-col :span="6">
              <el-button type="primary" @click="onSubmit">保存</el-button>
              <el-button @click="onCancel">返回</el-button>
            </el-col>
          </el-row>
        </el-form>
      </el-col>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    onSubmit() {},
    onCancel() {
      // this.$router.go(-1);
    },
  },
};
</script>

<style scoped lang="scss">
@import '../../styles/main.css';
// .grid-content {
//   min-height: 36px;
// }
.info-submit {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
</style>
